package l.l.test.ThinkingInJava.quanxian._1;

/**
 * Created by llw on 2018/1/15.
 */
class A{
    interface B{
        void f();
    }
    public class BImp implements B{
        public void f(){

        }
    }
    private class BImp2 implements B{
        @Override
        public void f() {

        }
    }
    protected class BImpl3 implements B{
        @Override
        public void f() {

        }
    }
    public BImpl3 getBImpl3(){
        return new BImpl3();
    }
}
public class NestingInterface {
    private interface B{
        void f();
    }
    public class BImp implements B {
        public void f(){

        }
    }
    private class BImp2 implements B {
        @Override
        public void f() {

        }
    }
    public class BImpl3 implements B {
        @Override
        public void f() {

        }
    }
    public B getBImpl3(){
        return new BImpl3();
    }
}
